<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8" />
  <title>javascript 图片 </title>
  <link rel="stylesheet" type="text/css" href="css/banner.css" />
</head>
<body>
  <!-- HTML 和 css 模板 -->
  <div id="banner">
    <ul id="banner_list" style="left:0px;">
      <li><img src="images/1.jpg" alt="" /></li>
      <li><img src="images/2.jpg" alt="" /></li>
      <li><img src="images/3.jpg" alt="" /></li>
      <li><img src="images/4.jpg" alt="" /></li>
    </ul>
    <div id="banner_contrl"></div>
  </div>
  <script type="text/javascript" src="js/index2.js"></script>
</body>
</html>